package 湖南工业大学;

import org.jsoup.Connection;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;

import java.io.IOException;

public class HNu {
    public static void main(String[] args) throws IOException {
        String Url = "https://eeit.hut.edu.cn/szdw/yjsds/xnds.htm";
        Connection connect = Jsoup.connect(Url);
        Document post = connect.post();
        for (Element element : post.getElementsByTag("tbody")) {
            for (Element a : element.getElementsByTag("a")) {
                System.out.println(a.attr("href"));

            }
        }
    }
}
